# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-cleo
_realname=cleo
pkgver=0.8.1
pkgrel=0
pkgdesc="Python3 library to create beautiful and testable command-line interfaces"
options="!check" # No tests on pypi tarball, github uses pyproject.toml
url="https://github.com/sdispater/cleo"
arch="noarch"
license="MIT"
depends="python3 py3-pastel py3-pylev"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dd7b7e4a6574f3ff47089d42aab7ca5ea0d04fe1affb7015a6c9edadc655fe9a76afcef2a3fd776d9745216581d4f7d7a330e366748bac2fa831840eceee44d3  cleo-0.8.1.tar.gz"
